package org.bee.output;

import org.bee.model.BaseModel;
import org.bee.secuirty.model.UserInfo;

/**
 * 登录成功返回的实体类
 */
public class LoginSuccess implements BaseModel {
    /**
     * 令牌
     */
    private String token;
    /**
     * 用户信息
     */
    private UserInfo userInfo;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public UserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }
}
